package com.eco.fanliapp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.eco.fanliapp.entity.AppUserRewardSetup;

import java.util.List;

public interface IAppUserRewardSetupService extends IService<AppUserRewardSetup>
{

    /**
     * 添加红包方案
     * @param appUserRewardSetup
     * @return
     */
    int addAppUserRewardSetup(AppUserRewardSetup appUserRewardSetup);


    /**
     * 修改红包方案
     * @param appUserRewardSetup
     * @return
     */
    int updateAppUserRewardSetup(AppUserRewardSetup appUserRewardSetup);


    /**
     * 查询红包方案
     * @return
     */
    List<AppUserRewardSetup> selectAppUserRewardSetup();


    /**
     * 一个
     * @param i
     * @return
     */
    AppUserRewardSetup getAppUserRewardSetup(int i);
}
